public class Sound {
    public static void main(String[] args) {
        Dog d = new Dog();
        d.bark();

        Animal animal = new Cat();
        animal.makeSound();
    }
}
